/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package progentiere.knapsackprb;


public class DPIntegerLabel {
    
    private double w;
    private double p;
    private int k;
    private DPIntegerLabel pred;

    public DPIntegerLabel(double w, double p, int k, DPIntegerLabel pred) {
        this.w = w;
        this.p = p;
        this.k = k;
        this.pred = pred;
    }

    public double getW() {
        return w;
    }

    public double getP() {
        return p;
    }

    public int getK() {
        return k;
    }

    public DPIntegerLabel getPred() {
        return pred;
    }
    
}
